package dao;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractAddress entity provides the base persistence definition of the
 * Address entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractAddress implements java.io.Serializable {

	// Fields

	private Integer addressid;
	private Address address;
	private Integer addrlevel;
	private String abbreviation;
	private String level1cn;
	private String level2cn;
	private String level3cn;
	private String level4cn;
	private String level5cn;
	private String fullcninfo;
	private String level1en;
	private String level2en;
	private String level3en;
	private String level4en;
	private String level5en;
	private String fulleninfo;
	private String yunshumode;
	private String addrstatus;
	private Set yunjiasForStartaddressid = new HashSet(0);
	private Set addresses = new HashSet(0);
	private Set yunjiasForEndaddressid = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractAddress() {
	}

	/** minimal constructor */
	public AbstractAddress(Integer addrlevel, String abbreviation,
			String level1cn, String fullcninfo, String level1en,
			String fulleninfo, String addrstatus) {
		this.addrlevel = addrlevel;
		this.abbreviation = abbreviation;
		this.level1cn = level1cn;
		this.fullcninfo = fullcninfo;
		this.level1en = level1en;
		this.fulleninfo = fulleninfo;
		this.addrstatus = addrstatus;
	}

	/** full constructor */
	public AbstractAddress(Address address, Integer addrlevel,
			String abbreviation, String level1cn, String level2cn,
			String level3cn, String level4cn, String level5cn,
			String fullcninfo, String level1en, String level2en,
			String level3en, String level4en, String level5en,
			String fulleninfo, String yunshumode, String addrstatus,
			Set yunjiasForStartaddressid, Set addresses,
			Set yunjiasForEndaddressid) {
		this.address = address;
		this.addrlevel = addrlevel;
		this.abbreviation = abbreviation;
		this.level1cn = level1cn;
		this.level2cn = level2cn;
		this.level3cn = level3cn;
		this.level4cn = level4cn;
		this.level5cn = level5cn;
		this.fullcninfo = fullcninfo;
		this.level1en = level1en;
		this.level2en = level2en;
		this.level3en = level3en;
		this.level4en = level4en;
		this.level5en = level5en;
		this.fulleninfo = fulleninfo;
		this.yunshumode = yunshumode;
		this.addrstatus = addrstatus;
		this.yunjiasForStartaddressid = yunjiasForStartaddressid;
		this.addresses = addresses;
		this.yunjiasForEndaddressid = yunjiasForEndaddressid;
	}

	// Property accessors

	public Integer getAddressid() {
		return this.addressid;
	}

	public void setAddressid(Integer addressid) {
		this.addressid = addressid;
	}

	public Address getAddress() {
		return this.address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public Integer getAddrlevel() {
		return this.addrlevel;
	}

	public void setAddrlevel(Integer addrlevel) {
		this.addrlevel = addrlevel;
	}

	public String getAbbreviation() {
		return this.abbreviation;
	}

	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}

	public String getLevel1cn() {
		return this.level1cn;
	}

	public void setLevel1cn(String level1cn) {
		this.level1cn = level1cn;
	}

	public String getLevel2cn() {
		return this.level2cn;
	}

	public void setLevel2cn(String level2cn) {
		this.level2cn = level2cn;
	}

	public String getLevel3cn() {
		return this.level3cn;
	}

	public void setLevel3cn(String level3cn) {
		this.level3cn = level3cn;
	}

	public String getLevel4cn() {
		return this.level4cn;
	}

	public void setLevel4cn(String level4cn) {
		this.level4cn = level4cn;
	}

	public String getLevel5cn() {
		return this.level5cn;
	}

	public void setLevel5cn(String level5cn) {
		this.level5cn = level5cn;
	}

	public String getFullcninfo() {
		return this.fullcninfo;
	}

	public void setFullcninfo(String fullcninfo) {
		this.fullcninfo = fullcninfo;
	}

	public String getLevel1en() {
		return this.level1en;
	}

	public void setLevel1en(String level1en) {
		this.level1en = level1en;
	}

	public String getLevel2en() {
		return this.level2en;
	}

	public void setLevel2en(String level2en) {
		this.level2en = level2en;
	}

	public String getLevel3en() {
		return this.level3en;
	}

	public void setLevel3en(String level3en) {
		this.level3en = level3en;
	}

	public String getLevel4en() {
		return this.level4en;
	}

	public void setLevel4en(String level4en) {
		this.level4en = level4en;
	}

	public String getLevel5en() {
		return this.level5en;
	}

	public void setLevel5en(String level5en) {
		this.level5en = level5en;
	}

	public String getFulleninfo() {
		return this.fulleninfo;
	}

	public void setFulleninfo(String fulleninfo) {
		this.fulleninfo = fulleninfo;
	}

	public String getYunshumode() {
		return this.yunshumode;
	}

	public void setYunshumode(String yunshumode) {
		this.yunshumode = yunshumode;
	}

	public String getAddrstatus() {
		return this.addrstatus;
	}

	public void setAddrstatus(String addrstatus) {
		this.addrstatus = addrstatus;
	}

	public Set getYunjiasForStartaddressid() {
		return this.yunjiasForStartaddressid;
	}

	public void setYunjiasForStartaddressid(Set yunjiasForStartaddressid) {
		this.yunjiasForStartaddressid = yunjiasForStartaddressid;
	}

	public Set getAddresses() {
		return this.addresses;
	}

	public void setAddresses(Set addresses) {
		this.addresses = addresses;
	}

	public Set getYunjiasForEndaddressid() {
		return this.yunjiasForEndaddressid;
	}

	public void setYunjiasForEndaddressid(Set yunjiasForEndaddressid) {
		this.yunjiasForEndaddressid = yunjiasForEndaddressid;
	}

}